package com.ext.aic.events;

import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;

import com.ext.aic.beans.box.NotificationMessage;
import com.ext.aic.box.RegisterAccessibilityService;
import com.ext.aic.box.model.ClientUIConstants;
import com.ext.aic.box.wx.chat.ChatManager;
import com.ext.aic.box.wx.conversation.ConversationManager;
import com.ext.aic.box.wx.conversation.ConversationRecognize;
import com.ext.aic.box.wx.reply.ReplyManager;

import java.util.concurrent.atomic.AtomicInteger;

public interface OnAccessibilityServiceEvent {
    //获取无障碍服务
    RegisterAccessibilityService getService();

    //根节点
    AccessibilityNodeInfo getRootNode();

    //无障碍事件
    AccessibilityEvent getAccessibilityEvent();

    //客户端常量
    ClientUIConstants getClientUIConstants();

    //获取回复管理
    ReplyManager getReplyManager();

    //会话是否解析中
    boolean isConversationAnalyzing();

    //获取回复任务计数
    AtomicInteger getReplyTaskCount();

    //触发回复任务
    void triggerReplyTask(NotificationMessage message);

    //获取会话识别对象
    ConversationRecognize getConversationRecognize();

    //获取聊天窗口对象
    ChatManager getChatManager();

    //隐藏软键盘
    boolean hideKeyboardViaBackKey();

    //获取软键盘高度
    int getSoftKeyboardHeight(boolean force);

    int getSoftKeyboardHeight();

    //是否显示软键盘
    boolean isShowKeyboard();

    ConversationManager getConversationManager();
}
